// 试验箱程序控制按钮配置，此项目之前有不同运行状态控制按钮是否禁用逻辑，暂不开发控制按钮动态配置
const programRun = {
  propertyName: '运行',
  mode: 'run',
  buttonType: 'success'
}
const constantRun = {
  propertyName: '运行',
  mode: 'constant',
  buttonType: 'success'
}
const stop = {
  propertyName: '停止',
  mode: 'off',
  buttonType: 'danger'
}
const pause = {
  propertyName: '暂停',
  mode: 'pause',
  buttonType: 'warning'
}

const keywordContinue = {
  propertyName: '继续',
  mode: 'continue',
  buttonType: 'primary'
}

const advance = {
  propertyName: '下一段',
  mode: 'advance',
  buttonType: 'success'
}

const setupOnly = {
  propertyName: '准备',
  mode: 'SETUP-ONLY',
  buttonType: 'primary'
}
const setupTest = {
  propertyName: '准备后开始',
  mode: 'SETUP-TEST',
  buttonType: 'primary'
}
const test = {
  propertyName: '试验开始',
  mode: 'TEST',
  buttonType: 'success'
}
const TShockPause = {
  propertyName: '试验中断',
  mode: 'PAUSE',
  buttonType: 'warning'
}
const TShockResume = {
  propertyName: '试验恢复',
  mode: 'RESUME',
  buttonType: 'success'
}
const TShockStop = {
  propertyName: '停止',
  mode: 'OFF',
  buttonType: 'danger'
}
const mDef = {
  propertyName: '手动除霜',
  mode: 'M-DEF',
  buttonType: 'primary'
}
const Dry = {
  propertyName: '干燥',
  mode: 'DRY',
  buttonType: 'primary'
}
const box1C01ProgramButtonList = [programRun, pause, keywordContinue, advance, stop]
const box1C01ConstantButtonList = [programRun, stop]

const box1H01ProgramButtonList = box1C01ProgramButtonList
const box1H01ConstantButtonList = box1C01ConstantButtonList

const box1D01ProgramButtonList = [programRun, pause, keywordContinue, advance, stop]
const box1D01ConstantButtonList = [programRun, stop]

const box1E01ProgramButtonList = [programRun, pause, keywordContinue, advance, stop]
const box1E01ConstantButtonList = [programRun, stop]

const box1I01ProgramButtonList = box1E01ProgramButtonList
const box1I01ConstantButtonList = box1E01ConstantButtonList
// const box1501ProgramButtonList = [setupOnly, setupTest, test, TShockPause, TShockStop, mDef]
// const box1501ConstantButtonList = []

// const boxC101AndC201AndC301ProgramButtonList = [programRun, stop]
// const boxC101AndC201AndC301ConstantButtonList = [constantRun, stop]

const box1F01ProgramButtonList = [setupOnly, setupTest, test, TShockPause, TShockResume, TShockStop, mDef, Dry]

const box1G01ProgramButtonList = box1F01ProgramButtonList

const box1J01ProgramButtonList = box1G01ProgramButtonList

const box1K01ProgramButtonList = box1C01ProgramButtonList
const box1K01ConstantButtonList = box1C01ConstantButtonList

export default {
  box1C01ProgramButtonList,
  box1C01ConstantButtonList,
  box1H01ProgramButtonList,
  box1H01ConstantButtonList,
  box1D01ProgramButtonList,
  box1D01ConstantButtonList,
  box1E01ProgramButtonList,
  box1E01ConstantButtonList,
  box1F01ProgramButtonList,
  box1G01ProgramButtonList,
  box1I01ProgramButtonList,
  box1I01ConstantButtonList,
  box1J01ProgramButtonList,
  box1K01ProgramButtonList,
  box1K01ConstantButtonList

  // box1501ProgramButtonList,
  // box1501ConstantButtonList,
  // boxC101AndC201AndC301ProgramButtonList,
  // boxC101AndC201AndC301ConstantButtonList
}
